<template>

</template>

<script setup>


</script>

<style>
.grid-info {
    text-align: left;
    width: 100%;
    font-size: 15px;
    margin: 5px 0 5px 0;
}

.grid-info-title {
    max-width: 15em;
    margin-top: 5px;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 这里是超出几行省略 */
    overflow: hidden;
    padding: 0 5px 0 5px;

}

.grid-info-user {
    display: flex; /*显示一行*/
    align-items: center;
    justify-content: space-between; /*左右显示*/
    font-size: 12px;
    padding: 0 5px 0 5px;
    margin-top: 5px;
}

.grid-info-user-name {
    font-size: 12px; /* 调整为你想要的大小 */
    margin-left: 3px;
    max-width: 100px; /* 或者你需要的任何宽度 */
    white-space: nowrap; /* 防止文本换行 */
    overflow: hidden; /* 隐藏超出容器的内容 */
    text-overflow: ellipsis; /* 用省略号表示被截断的文本 */
    font-weight: normal;
    color: #b2b2b2;
}

#app {
    max-width: 1280px;
    margin: 0 auto;

    text-align: center;
}

.van-grid-item__content--center {
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

/*用户展示*/
.van-image {
    position: relative;
    display: inline-block;
    height: 200px;

}

.van-image__img, .van-image__error, .van-image__loading {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 5px 5px 0 0; /*调整图片左上角 右上角为圆角*/
}

.van-grid-item__content {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 100%;
    padding: 0;
    background: var(--van-grid-item-content-background);
}

</style>